#include <stdio.h>
int main()
{ 
    int count = 9;
    while (count--)
    {
        printf("%d\r", count);
        fflush(stdout);

        sleep(1);
    }
    printf("\n");

    return 0;
}
